package com.nuoye.camera2studydemo;


import androidx.core.util.Consumer;

public class ChickConsumer {
    String name;
    Consumer<String> consumer;

    @Override
    public String toString() {
        return name;
    }

    public ChickConsumer(String name, Consumer<String> consumer) {
        this.name = name;
        this.consumer = consumer;
    }

    public Consumer<String> getConsumer() {
        return consumer;
    }
}
